/**
 * 详情模块接口
 */

import request from '@/utils/request'

// 获取商品信息
export const findGoods = (id) => request('/goods', 'GET', { id })

// 获取热榜信息
export const findHotGoods = (id, type, limit = 3) => request('goods/hot', 'GET', { id, type, limit })
